/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package toster;

/**
 *  this class is a wrapper for GridEvent, use it not GridEvent
 * @author rcluster
 */
public  class EventHorizon {
    private  int zig=0;
    public EventHorizon(){
    }

    public  void Event(int X,int Y){
       new GridEvent(this,zig(),X,Y);
    }

    public  void Event(int X,int Y,int Value){
       new GridEvent(this,zig(),X,Y,Value);
    }

    private  int zig(){
        return zig++;
    }
}
